import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';
const product: AppRouteModule = {
  path: '/basics',
  name: 'Basic',
  component: LAYOUT,
  meta: {
    orderNo: 30,
    icon: 'ant-design:unordered-list-outlined',  
    title: t('routes.basic.dataMantain'),
    policy: 'Basic',
  },
  children: [
    {
      path: 'product',
      name: 'product',
      component: () => import('/@/views/basic/product/product.vue'),
      meta: {
        title: t('routes.basic.productManagement'),
        icon: 'ant-design:car-twotone',
        policy: 'Basic.ProductManagement',
      },
    },
    {
      path: 'customer',
      name: 'customer',
      component: () => import('/@/views/basic/customer/customer.vue'),
      meta: {
        title:t('routes.basic.customerManagement'),
        icon: 'ant-design:rocket-outlined',
        policy: 'Basic.CustomerManagement',
      },
    },
  ]
};

export default product;
